<?php
$this->breadcrumbs=array(
	(UserModule::t('Users'))=>array('admin'),
	$model->username=>array('view','id'=>$model->id),
	(UserModule::t('Update')),
);
?>
<div class="single-head">
	<h3 class="pull-left"><i class="fa fa-desktop purple"></i> <?php echo  UserModule::t('Update User')." ".$model->id; ?></h3>
	<div class="breads pull-right">
		<strong>Nav</strong> : <a href="<?php echo Yii::app()->createUrl('user'); ?>">Home</a> / <a href="<?php echo Yii::app()->createUrl('user/admin'); ?>">Manage</a> / Update
	</div>
	<div class="clearfix"></div>
</div>
<?php 
$this->beginWidget('zii.widgets.CPortlet', array(
	'htmlOptions'=>array(
		'class'=>''
	)
));
$this->widget('bootstrap.widgets.TbMenu', array(
	'type'=>'pills',
	'items'=>array(
		array('label'=>'List', 'icon'=>'icon-th-list', 'url'=>Yii::app()->controller->createUrl('admin?activeMail='), 'linkOptions'=>array()),
		array('label'=>'Update', 'icon'=>'icon-edit', 'url'=>Yii::app()->controller->createUrl('update',array('id'=>$model->id)),'active'=>true, 'linkOptions'=>array()),
	),
));
$this->endWidget();
?>
<?php
	echo $this->renderPartial('_form', array('model'=>$model,'profile'=>$profile));
?>